Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632080 Views

Latest files of /cody/vishal-dcode/Carousel Portfolio

app.js cody/vishal-dcode/Carousel Portfolio/app.js
2 Views
0 Comments
let activeIndex = 0;
const slides = document.getElementsByTagName("article");
const handleLeftClick = () => {
const nextIndex = activeIndex - 1 >= 0 ? activeIndex - 1 : slides.length - 1;
const [currentSlide, nextSlide] = getSlideElements(activeIndex, nextIndex);

setSlideStatus(currentSlide, "after");
setSlideStatus(nextSlide, "becoming-active-from-before");
style.css cody/vishal-dcode/Carousel Portfolio/style.css
3 Views
0 Comments
@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap";
:root {
--background-color: #141414;
--border-color: #212121;
--highlight-color: #865dff;
}
body {
background-color: var(--background-color);
index.html cody/vishal-dcode/Carousel Portfolio/index.html
10 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<link rel="stylesheet" href="style.css" />